	
/****** Object:  Stored Procedure SuppliersUpdate    Script Date: Tuesday, March 13, 2007 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spSuppliersUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [spSuppliersUpdate]
GO

	
	

	
/******************************************************************************
**		File: 
**		Name: spSuppliersUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 3/13/2007 11:20:03 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE spSuppliersUpdate
	@SupplierCode varchar(3), 
	@SupplierName nvarchar(50), 
	@ConPointID int, 
	@IsArchived bit 
AS

UPDATE [Suppliers] SET
	[SupplierName] = @SupplierName,
	[ConPointID] = @ConPointID,
	[IsArchived] = @IsArchived
WHERE
	[SupplierCode] = @SupplierCode

GO
